package com.sanqing.po;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Training entity. @author MyEclipse Persistence Tools
 */

public class Training implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private String purpose;
	private Date begintime;
	private Integer days;
	private String datum;
	private String teacher;
	private boolean status;
	private String effect;
	private String summarize;
	private String type;
	private Set employees = new HashSet(0);

	// Constructors

	/** default constructor */
	public Training() {
	}

	/** minimal constructor */
	public Training(String name, String purpose, boolean status) {
		this.name = name;
		this.purpose = purpose;
		this.status = status;
	}

	/** full constructor */
	public Training(String name, String purpose, Date begintime, Integer days,
			String datum, String teacher, boolean status, String effect,
			String summarize, String type, Set employees) {
		this.name = name;
		this.purpose = purpose;
		this.begintime = begintime;
		this.days = days;
		this.datum = datum;
		this.teacher = teacher;
		this.status = status;
		this.effect = effect;
		this.summarize = summarize;
		this.type = type;
		this.employees = employees;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPurpose() {
		return this.purpose;
	}

	public void setPurpose(String purpose) {
		this.purpose = purpose;
	}

	public Date getBegintime() {
		return this.begintime;
	}

	public void setBegintime(Date begintime) {
		this.begintime = begintime;
	}

	public Integer getDays() {
		return this.days;
	}

	public void setDays(Integer days) {
		this.days = days;
	}

	public String getDatum() {
		return this.datum;
	}

	public void setDatum(String datum) {
		this.datum = datum;
	}

	public String getTeacher() {
		return this.teacher;
	}

	public void setTeacher(String teacher) {
		this.teacher = teacher;
	}

	public boolean getStatus() {
		return this.status;
	}

	public void setStatus(boolean status) {
		this.status = status;
	}

	public String getEffect() {
		return this.effect;
	}

	public void setEffect(String effect) {
		this.effect = effect;
	}

	public String getSummarize() {
		return this.summarize;
	}

	public void setSummarize(String summarize) {
		this.summarize = summarize;
	}
	
	public String getType() {
		return this.type;
	}
	
	public void setType(String type) {
		this.type = type;
	}

	public Set getEmployees() {
		return this.employees;
	}

	public void setEmployees(Set employees) {
		this.employees = employees;
	}

}